<tpl> include file='sys_config.head.html' </tpl>
<div id="doc3">
	<div id="yui-main">
		<div class="yui-g">
 			<div id="divinbox">
				<div class="gtlbar">
					<div class="gtlbar-left"><tpl> $langSysIModiPassword </tpl></div>
				</div>
				<div class="ctge">
					<div class="ctge-1">
						<form action="system_power.manage.php" id="form_admin_password" name="form_admin_password" method="post">	
						<input type="hidden" name="action" value="admin_password_update" />
						<div class="ctge-1-1">
							<table cellSpacing="0" cellPadding="0" class="fct" border="0">
								<tr>
									<th><tpl> $langSysIOldPassword </tpl>:</th>
									<td><input type="password" name="password_old" id="password_old" class="fct-input" /></td>
								</tr>
								<tr>
									<th><tpl> $langSysINewPassword </tpl>:</th>
									<td><span class="dptn"><tpl> $langSysPasswordRemark </tpl></span><input type="password" name="password" id="password" class="fct-input" /></td>
								</tr>
								<tr>
									<th><tpl> $langSysIAffirmPassword </tpl>:</th>
									<td><span class="dptn"><tpl> $langSysPasswordRemark </tpl></span><input type="password" name="password2" id="password2" class="fct-input" /></td>
								</tr>
							</table>
						</div>
						<div class="bth-ct">
							<div class="bth-pl">
								<input class="bthl" value="<tpl> $langSysCSave </tpl>" type="submit" />
								<input type="button" class="bthl" value="<tpl> $langSysCReturn </tpl>" onclick="history.back();" />
							</div>
						</div>
					</form>
					</div>
				</div>	
			</div>
		</div>
	</div>
</div>
<tpl> include file='sys_config.js.html' </tpl>
</body>
</html>
<script>
$(document).ready(function() {	
	$("#form_admin_password").validate({
		errorClass: "wrong",
		rules: {
			password_old: {required:true},
			password: {required:true,minlength:5,maxlength:16},
			password2: {required:true,minlength:5,maxlength:16,equalTo:'#password'}
		},
		messages: {
			password_old: {required:"<tpl> $langSysIPleaseFillInOldPassword </tpl>"},
			password: {required: "<tpl> $langSysIPleaseFillInPassword </tpl>",minlength:"<tpl> $langSysIPasswordLengthLessFive </tpl>",maxlength:"<tpl> $langSysIPasswordLengthExceedSixteen </tpl>"},
			password2: {required: "<tpl> $langSysIPleaseFillInAffirmPassword </tpl>",minlength:"<tpl> $langSysIPasswordLengthLessFive </tpl>",maxlength:"<tpl> $langSysIPasswordLengthExceedSixteen </tpl>",equalTo:"<tpl> $langSysIPasswordNoAccord </tpl>"}
		}
	});
});
</script>